package com.star.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Star
 * @since 2021-04-21
 */
@TableName("tb_shop_type")
public class ShopType extends Model<ShopType> {

    private static final long serialVersionUID = 1L;

    /**
     * 店铺类型编号
     */
    @TableId(value = "shop_Type_id", type = IdType.AUTO)
    private Integer shopTypeId;
    /**
     * 店铺类型名称
     */
    @TableField("shop_Type_name")
    private String shopTypeName;
    /**
     * 店铺类型资源图片路径
     */
    @TableField("shop_Type_ImgUrl")
    private String shopTypeImgurl;


    public Integer getShopTypeId() {
        return shopTypeId;
    }

    public void setShopTypeId(Integer shopTypeId) {
        this.shopTypeId = shopTypeId;
    }

    public String getShopTypeName() {
        return shopTypeName;
    }

    public void setShopTypeName(String shopTypeName) {
        this.shopTypeName = shopTypeName;
    }

    public String getShopTypeImgurl() {
        return shopTypeImgurl;
    }

    public void setShopTypeImgurl(String shopTypeImgurl) {
        this.shopTypeImgurl = shopTypeImgurl;
    }

    @Override
    protected Serializable pkVal() {
        return this.shopTypeId;
    }

    @Override
    public String toString() {
        return "ShopType{" +
        ", shopTypeId=" + shopTypeId +
        ", shopTypeName=" + shopTypeName +
        ", shopTypeImgurl=" + shopTypeImgurl +
        "}";
    }
}
